import Router from 'koa-router';
import UserController from "../controller/userController";

const router = new Router();

router.prefix('/api/user');

router

// 公共登录接口用于获取体验情况下用户数据
  .get('/shopLogin', UserController.getUserToken)
  .get('/checkBuy', UserController.checkBuy)
  .get('/checkUserPhone', UserController.checkUserPhone)
  .get('/saveUserPhone', UserController.saveUserPhone)

export default router;